Skip to content

Conversation

@crickman
Copy link
Contributor

@crickman crickman commented Apr 16, 2024

Motivation and Context

Users of AgentGroupChat will likely require strategies that rely on AI processing. Text processing alone is insufficient, but developers need other options than calling an AI model. With this update, our strategy story supports either.

Description

Introducing support SelectionStrategy and TerminationStrategy that utilize LLM processing with support for result processing.

  • KernelFunctionSelectionStrategy
  • KernelFunctionTerminationStrategy

Contribution Checklist

Copy link
Member

@dmytrostruk dmytrostruk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's worth to update PR description as well, since FunctionResultProcessor class doesn't exist anymore.

@crickman crickman enabled auto-merge April 26, 2024 15:52
@crickman crickman added this pull request to the merge queue Apr 26, 2024
Merged via the queue into main with commit 4af7dfc Apr 26, 2024
@crickman crickman deleted the feature_chat_strategy branch April 26, 2024 17:14
LudoCorporateShark pushed a commit to LudoCorporateShark/semantic-kernel that referenced this pull request Aug 25, 2024
### Motivation and Context
<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

Users of `AgentGroupChat` will likely require strategies that rely on AI
processing. Text processing alone is insufficient, but developers need
other options than calling an AI model. With this update, our strategy
story supports either.

### Description
<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

Introducing support `SelectionStrategy` and `TerminationStrategy` that
utilize LLM processing with support for result processing.

- `KernelFunctionSelectionStrategy`
- `KernelFunctionTerminationStrategy`

### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents experimental Associated with an experimental feature feature branch PR targeting a feature branch .NET Issue or Pull requests regarding .NET code PR: ready for review All feedback addressed, ready for reviews

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants